class CreateShops < ActiveRecord::Migration
  def self.up
    create_table :shops do |t|
      t.string :name
      t.text :description
      t.string :workhours
      t.string :kitchenhours
      t.string :kitchen
      t.string :phone
      t.string :mobile
      t.string :address
      t.string :time
      t.integer :delivery
      t.string :photo_file_name
      t.string :photo_content_type
      t.integer :photo_file_size
      t.datetime :photo_updated_at
      t.integer :town_id
      t.string :status

    end
  end

  def self.down
    drop_table :shops
  end
end
